package com.sunday.common.mybatis.business.annotation.core;

import lombok.AllArgsConstructor;
import lombok.Data;

@AllArgsConstructor
@Data
public class DataMapping {

    /**
     * 显示的标签
     */
    private String label;

    /**
     * 值
     */
    private String value;

    public static DataMapping of(String label, String value) {
        return new DataMapping(label, value);
    }

}
